/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Collection;
import java.util.Set;


/**
 *
 *
 * @author zgy
 * @date 2021-9-22
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListGoodsBatchRequest {

	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 货品Id集合
	 */
	private Set<Long> goodsIdSet;
	/**
	 * 货号
	 */
	private String goodsCode;
	/**
	 * 货号
	 */
	private String goodsFullCode;
	/**
	 * 货品简称
	 */
	private String goodsAbbr;
	/**
	 * 批次代码
	 */
	private String goodsBatchCode;
	/**
	 * 批次代码
	 */
	private Collection<String> goodsBatchCodeList;
	/**
	 * 状态：0-存盘，1-启用，2-停用，3-冻结
	 */
	private Integer status;

}
